<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <jsp:include page="../admin/common.jsp"></jsp:include>
<!DOCTYPE html>
<html lang="zh-cn">

	<body>
		<div id="navLwapper">
			<div id="navL">
				<div class="navTop clearfix">
					<div class="perImg"><img alt="" src="../img/icon36.png"></div>
					<div class="perMesg">
						<p class="p1">用户名：</p>
						<div class="perName"><span title="dahuotu">${uname}</span><i>管理员</i></div>
						<p class="safety">帐号安全度：<span>低</span></p>
						<div class="safetyName">
							<span class="apcol1"></span>
						</div>
					</div>
				</div>
				<ul class="msgLink clearfix">
					<li>
						<a href="#">帐号信息<span class="mesNum"></span></a>
					</li>
					<li>
						<a href="">增加管理员</a>
					</li>
					<li>
						<a href="#">消息中心</a>
					</li>
				</ul>
				<ul class="navMain">
					<li class="sp ">
						<a href="/medicinemgr/admin/dep">查看科室</a><span class="sp1"></span></li>
					<li class="active">
						<a href="/medicinemgr/admin/showdm">查看药品</a><span class="sp2"></span></li>
					<li>
						<a href="/medicinemgr/admin/showfactory">查看厂商</a><span class="sp3"></span></li>
					<li>
						<a href="">功能功能</a><span class="sp4"></span></li>
				</ul>
			</div>
		</div>
		<div class="cenMain">
						<div class="askans subMright subBs">
							<p>修改药品</p>
							<!--内容-->
							<div class="admin radius">
								<div class="alert alert-yellow padding">
									<span class="close rotate-hover"></span><strong>使用说明</strong>
									<p class="text-small">根据需要修改：药品名、药品类别号、剂型类别号、厂商编号、到期时间、 数量、是否处方、主治功能,方便区分对待！</p>
								</div>

								<form  action="/medicinemgr/admin/dmedit" method="post" class="form-x">
									<div class="form-group" id="f_1492064191804">
										<div class="label">
											<label for="f_required_txt">
												药品名：
											</label>
										</div>
										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="mname" value="${med.mname }" data-validate="required:请填写药品名" placeholder="输入药品名">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												药品类别号：
											</label>
										</div>
										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="mtypeid" value="${med.mtypeid }" data-validate="required:请填写药品类别号" placeholder="输入药品类别号">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												剂型类别号：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="mformid" value="${med.mformid }" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
										</div>
									</div>	

									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												厂商编号：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50"  name="mfactoryid" value="${med.mfactoryid }" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												是否处方：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="prescription" value="${med.prescription }" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												到期时间：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="expiration" value="${med.expiration }" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												数量：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="mcount" value="${med.mcount}" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
										</div>
									</div>
									<div class="form-group" id="f_1492064223658">
										<div class="label">
											<label for="f_work">
												主治功能：
											</label>
										</div>

										<div class="field">
											<input type="text"  class="input" id="f_name_txt"  maxlength="50" name="mfunction" value="${med.mfunction }" data-validate="required:请填写剂型类别号" placeholder="输入剂型类别号">
											<input type="hidden" name="mid" value="${mid}">
										</div>
									</div>


									<div class="form-group" id="f_1492064295267">
										<div class="label">
											<label for="f_required_txt"></label>
										</div>
										<div class="field">
											<button type="submit" class="button bg-green" style="width: 200px;">
												提交
											</button>
											<button type="button" class="button bg-main  win-back"  onclick="location.href='/medicinemgr/admin/showdm'" style="width: 200px;">
												返回
											</button>
										</div>
									</div>
								</form>

							</div>
						</div>
					</div>
				</body>
				<script src="js/admin.js "></script>

				</html>